Dkq = Window02.extend({
	ctor:function (parent, flow, tag) {
		this._super(parent, flow, tag);
	},
	initSp:function (){
		var dkq = new Button(this.rootNode,
				d_z_index, TAG_DEFAULT,
				"#dkq2.png",
				this.eventMenuCallback,this);
		dkq.setPosition(gg.c_p);

		var start = new Button(this.rootNode,
				d_z_index, TAG_DKQ_START,
				"#dkq_start.png",
				this.eventMenuCallback,this);
		start.setPosition(680, 325);
		
		this.screen = new Button(this.rootNode,
				d_z_index, TAG_DKQ_SCREEN,
				"#dkq_s1.png",
				this.eventMenuCallback,this);
		this.screen.setPosition(480, 325);
	},
	callbackSp:function(pSender){
		cc.log("say:" + pSender.getTag());
		var action = gg.flow.flow.action;
		switch (pSender.getTag()){
		case TAG_DKQ_START:
			if(action == ACTION_DO1){
				this.screen.setSpriteFrame("dkq_s2.png");
				gg.flow.next();
// this.close();
// this.layer.head.start();
			} else if(action == ACTION_DO2){
				this.layer.clock.doTime(4, 0);
				this.layer.clock.loadTip("#tool/tip4.png");
				gg.flow.next();
			}
			break;
		}
	}
})